<?php

class basketWidgetComponents extends myComponents{

	public function executeWidget(){
		$this->totalItems = myBasket::getInstance(myBasket::SESSION_BASED)->countItems();
		$this->basketNode =
				Doctrine::getTable('Structure')
					->findOneByParameterAndLang('basket', $this->getRoute()->getObject()->getLang());
	}

	public function executeRender(){}
	
}